package com.springboot_gradrecruit.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.springboot_gradrecruit.common.PageResponse;
import com.springboot_gradrecruit.model.dto.enterprise.AddInformationRequest;
import com.springboot_gradrecruit.model.dto.enterprise.PageInformationRequest;
import com.springboot_gradrecruit.model.dto.enterprise.UpdateInformationRequest;
import com.springboot_gradrecruit.model.entity.Enterprise;
import com.springboot_gradrecruit.model.vo.enterprise.EnterpriseVO;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author zr
* @description 针对表【enterprise】的数据库操作Service
* @createDate 2024-11-01 11:29:10
*/
@Service
public interface EnterpriseService extends IService<Enterprise> {

    Long addInformation(AddInformationRequest addInformationRequest, HttpServletRequest request);

    EnterpriseVO queryInformationByUserId(Long enterpriseUserId);


    boolean updateInformationById(UpdateInformationRequest updateInformationRequest);

    PageResponse<EnterpriseVO> pageInformation(PageInformationRequest pageInformationRequest);

    List<EnterpriseVO> queryHotEnterprise();
}
